Image processing apparatus, method of controlling image processing apparatus, and storage medium

ABSTRACT

An image processing apparatus includes a character recognition unit configured to perform character recognition processing for recognizing a character string included in image data, a transmission unit configured to transmit the image data to store the image data in a folder including a name containing the character string acquired by the character recognition processing, and a reception unit configured to receive an instruction from a user. In a case where a result of the character recognition processing by the character recognition unit does not satisfy a predetermined condition, the transmission unit does not transmit the image data until the reception unit receives the instruction from the user. In a case where the result of the character recognition processing by the character recognition unit satisfies the predetermined condition, the transmission unit transmits the image data without receiving the instruction from the user by the reception unit.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 16/889,581, filed on Jun. 1, 2020, which claims priority fromJapanese Patent Application No. 2019-105690, filed Jun. 5, 2019, each ofwhich are hereby incorporated by reference herein in their entirety.

BACKGROUND Technical Field

The present disclosure relates to an image processing apparatus, amethod of controlling the image processing apparatus, and a storagemedium.

Description of the Related Art

There has been discussed an image processing apparatus that reads animage of a document to generate an image data, performs characterrecognition processing on an area previously designated by a user, andtransmits the image data to a folder having a folder name as a characterstring acquired by the character recognition processing (Japanese PatentApplication Laid-Open No. 2005-234708).

In an image processing apparatus that stores the image data in thefolder including, as a folder name. The character string acquired by thecharacter recognition processing, in a case where an incorrect characterstring is acquired by the character recognition processing, the imagedata is stored in a folder including a folder name that is not intendedby the user. There is also a possibility that image data of aconfidential document may be transmitted to an unintended folder, whichcan lead to leakage of confidential information.

In order to prevent the image data from being transmitted to anunintended folder, the user can be asked to confirm the folder namebefore the image data is stored. However, this increases labor andcomplicated operation of the user.

The image processing apparatus discussed in Japanese Patent ApplicationLaid-Open No. 2005-234708 fails to ask the user to conform the foldername before the image data is stored, or cannot prevent the image datafrom being transmitted to an unintended folder.

SUMMARY

An aspect of present disclosure is to prevent an image data from beingtransmitted to an unintended folder in an image processing apparatusthat stores image data in a folder including a folder name, and acharacter string acquired by character recognition processing.

According to an aspect of the present disclosure, an image processingapparatus includes a character recognition unit configured to performcharacter recognition processing for recognizing a character stringincluded in an image data, a transmission unit configured to transmitthe image data to store the image data in a folder including a namecontaining the character string acquired by the character recognitionprocessing, and a reception unit configured to receive an instructionfrom a user. In a case where a result of the character recognitionprocessing by the character recognition unit does not satisfy apredetermined condition, the transmission unit does not transmit theimage data until the reception unit receives the instruction from theuser. In a case where the result of the character recognition processingby the character recognition unit satisfies the predetermined condition,the transmission unit transmits the image data without receiving theinstruction from the user by the reception unit.

Further features and aspects of the present disclosure will becomeapparent from the following description of exemplary embodiments withreference to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating an example of a configuration of areading system.

FIG. 2 is a diagram illustrating an example of a hardware configurationof a multifunctional peripheral (MFP).

FIG. 3 is a diagram illustrating an example of a hardware configurationof a personal computer (PC).

FIG. 4 is a diagram illustrating an example of a screen displayed on anoperation unit.

FIG. 5 is a diagram illustrating an example of a one-touch transmissionscan setting screen displayed on a display device.

FIG. 6 is a diagram illustrating an example of a setting editing screenfor editing settings of a button to perform one-touch transmission scan.

FIG. 7 is a diagram illustrating an example of a character recognitionprocessing setting screen.

FIG. 8 is a diagram illustrating an example of an address selectionscreen.

FIG. 9 is a diagram illustrating an example of a folder structure.

FIG. 10 is a flowchart illustrating an example of one-touch transmissionscan processing.

FIG. 11 is a diagram illustrating an example of a recovery instructionscreen.

FIG. 12 is a diagram illustrating an example of an input screen.

FIG. 13 is a diagram illustrating an example of a timing chart ofone-touch transmission scan parallel processing.

FIG. 14 is a flowchart illustrating an example of the one-touchtransmission scan parallel processing.

DESCRIPTION OF THE EMBODIMENTS

Exemplary embodiments are described below with reference to thedrawings. Configurations described in the following exemplaryembodiments are mere examples, and are not limited to the describedconfigurations.

A first exemplary embodiment will be described. FIG. 1 is a diagramillustrating an example of a configuration of a reading system. Thereading system according to the present exemplary embodiment includes amultifunctional peripheral (MFP) 101 as an example of an imageprocessing apparatus, a file server 102 as an information processingapparatus, a mail server 103, a personal computer (PC) 104 and an onlinestorage 106. The MFP 101, the file server 102, the mail server 103, andthe online storage 106 are each connected to a local area network (LAN)100. On the LAN 100, the MFP 101, the file server 102, the mail server103, and the PC 104 are communicably connected to one another via thenetwork. The MFP 101 and the online storage 106 are communicable witheach other via the LAN 100 and the Internet 105.

The MFP 101 transmits image data generated through reading of an imageof a document to the file server 102, the mail server 103, and theonline storage 106. The image data in the present exemplary embodimentis not limited to electronic data obtained by converting an image intoraw data, and may be electronic data conforming to an image format suchas tagged image file format (TIFF) and Joint Photographic Experts Group(JPEG), or electronic data conforming to a portable document format(PDF) format. The file server 102 is a file server that complies withfile transfer protocol (FTP) and server message block (SMB) protocol.The mail server 103 is a mail server that complies with simple mailtransfer protocol (SMTP). The online storage 106 is an online storagethat complies with a world wide web distributed authoring and versioning(WebDAV) (file sharing protocol using hypertext transfer protocol(HTTP)). The PC 104 can access a web server of the MFP 101 by using theHTTP, and can refer to and update setting values. The LAN 100 may be awired LAN using Ethernet® or a wireless LAN.

FIG. 2 is a diagram illustrating an example of a hardware configurationof the MFP 101. The MFP 101 includes a central processing unit (CPU)201, a read-only memory (ROM) 202, a random access memory (RAM) 203, astorage 204, an operation unit 205, a printer 206, a scanner 207, anetwork interface (I/F) 208, and an external storage device I/F 209.

The CPU 201 controls various kinds of hardware 202 to 208 of the MFP101, thereby realizing functions of the MFP 101. The CPU 201 transmitssignals to the various kinds of hardware via a bus line, therebyrealizing mutual data communication therewith.

Further, the CPU 201 of the MFP 101 controls operation of the MFP 101based on a control program stored in the ROM 202. More specifically, theCPU 201 executes an operating system (OS) controlling the MFP 101 and adriver program to control the hardware. Further, application programs onthe OS mutually operate on each other to operate and control a functiondesired by a user. The OS and the various kinds of programs are storedin the ROM 202, and are executed by being read to the RAM 203.

The ROM 202 is a memory that stores the programs and various kinds ofdata to be used by the CPU 201. The RAM 203 is a work memory thattemporarily stores the programs and data to be used by the CPU 201 forcalculation. The storage 204 is a storage device that stores variouskinds of data, various kinds of programs, etc.

Although, in the present exemplary embodiment, a flash memory is assumedto be used as the storage 204, an auxiliary storage device, such as asolid state disk (SSD), a hard disk drive (HDD), and an embeddedmulti-media card (eMMC), may also be used. In the MFP 101 according tothe present exemplary embodiment, a single CPU 201 uses one memory (RAM203) to perform various processing illustrated in a flowchart describedbelow; however, other configurations may also be used. For example, aplurality of CPUs, a plurality of RAMs, a plurality of ROMs, and aplurality of storages may cooperate with one another to perform thevarious processing illustrated in the flowchart described below.Further, a part of the processing may be performed by a hardwarecircuit, such as an application specific integrated circuit (ASIC) and afield programmable gate array (FPGA).

The operation unit 205 is a user interface for the user to operate theMFP 101, for example, a touch panel, and also serves as a reception unitreceiving operation and input by the user. The operation unit 205 can bealso used as a display unit that displays a screen to operate the MFP101.

The printer 206 is a unit realizing a print function. The CPU 201controls the printer 206 to execute a print job received from the PC104, so that an image is printed on a sheet. The print job is data thatincludes an instruction to cause the MFP 101 to perform printprocessing, image data, and print setting information.

The scanner 207 is a unit realizing a scan function. When the CPU 201controls the scanner 207, the scanner 207 optically reads an image of adocument, and generates image data.

The network I/F 208 is a network I/F for performing communication usinga wired LAN, for example, Ethernet®. The network I/F 208 may be anetwork I/F for performing communication using a wireless LAN, or may bea universal serial bus (USB)-LAN I/F.

The external storage device I/F 209 is an I/F for the MFP 101 tocommunicate with an external storage device 210. The CPU 201 controlsthe external storage device I/F 209 such that the image data is storedin the external storage device 210. In the present exemplary embodiment,a USB interface is assumed to be used as the external storage device I/F209 and a USB memory is assumed to be used as the external storagedevice 210. However, the external storage device I/F 209 may be a securedigital (SD) card slot, such as an SD card, for communication with anexternal storage device.

FIG. 3 is a diagram illustrating an example of a hardware configurationof the PC 104. The PC 104 includes a CPU 301, a ROM 302, a RAM 303, anHDD 304, a network I/F 305, an operation device I/F 306, and a displaydevice I/F 307.

The CPU 301 controls various kinds of hardware 302 to 307 of the PC 104,thereby realizing functions of the PC 104. The CPU 301 transmits signalsto the various kinds of hardware via a bus line, thereby realizingmutual data communication therewith.

Further, the CPU 301 of the PC 104 controls operation of the PC 104based on a control program stored in the ROM 302. More specifically, theCPU 301 executes an OS controlling the PC 104, and application programson the OS mutually operate on each other to operate and control afunction desired by the user. The OS and the various kinds of programsare stored in the ROM 302, and are executed by being read to the RAM303.

The ROM 302 is a memory that stores the programs and various kinds ofdata to be used by the CPU 301. The RAM 303 is a work memory thattemporarily stores the programs and data to be used by the CPU 301 forcalculation. The HDD 304 is a storage device that stores various kindsof data, various kinds of programs, etc.

The network I/F 305 is a network I/F for performing communication usinga wired LAN, for example, Ethernet®. The network I/F 305 may be anetwork I/F for performing communication using a wireless LAN, or may bea USB-LAN I/F.

The operation device I/F 306 is an I/F to connect an operation device310, such as a keyboard and a mouse, to the PC 104.

The display device I/F 307 is an I/F that connects a display device 311,such as a liquid crystal monitor, to the PC 104.

The PC 104 according to the present exemplary embodiment is connected tothe external operation device and the external display device. However,an operation unit and a display unit can be incorporated in the PC 104as well.

FIG. 4 is a diagram illustrating an example of a screen displayed on theoperation unit 205. The operation unit 205 includes a touch panel 410, adata light-emitting diode (LED) 420, and an error LED 430. A home screen400 is displayed on the touch panel 410 upon starting the MFP 101. Thehome screen 400 is a screen for instructing execution of each of thefunctions of the MFP 101. A frequently used settings button 401, a scanbutton 402, a menu button 403, an address book button 404, an interviewsheet button 405, a referral letter button 406, and the like aredisplayed on the home screen 400. Further, a power saving button 407, ahome button 408, and a stop button 409 are constantly displayed on thehome screen 400. The power saving button 407, the home button 408, andthe stop button 409 may be provided as hardware keys on the operationunit 205.

When the frequently used settings button 401 is selected by the user, anexecution screen for executing a specific function is displayed in astate where setting set by the user is input.

When the scan button 402 is selected, a screen where a user can give aninstruction to execute scan processing to generate image data andtransmit the generated image data by means of email transmission or filetransmission, and to store the generated image data in the externalstorage device 210 is displayed. The email transmission indicates thatthe image data generated by reading the document is attached to anelectronic mail and transmitted. The file transmission indicates thatthe generated image data is transmitted to the file server 102 or the PC104 by using a communication protocol, such as SMB and FTP.

When the menu button 403 is selected by the user, a menu screen isdisplayed.

When the address book button 404 is selected by the user, a screendisplaying a registered address (destination information) is displayed.The screen displaying the address also displays a type of transmission,such as electronic mail transmission, SMB transmission, FTPtransmission, and WebDAV transmission, and the destination information,such as an email address, a host name, and server information.

Each of the interview sheet button 405 and the referral letter button406 is a one-touch transmission button. When the one-touch transmissionbutton is selected by the user, a screen where the user can give aninstruction to read an image of a document with scan settings preset bythe user to generate image data, and to transmit the generated imagedata by the type of transmission preset by the user is displayed. Inother words, selection of the interview sheet button 405 means receptionof an instruction to perform reading.

When the power saving button 407 is selected by the user, the MFP 101 isshifted to a power saving state.

When the home button 408 is selected by the user, the home screen 400 isdisplayed on the operation unit 205.

When the stop button 409 is selected by the user, execution of a job,e.g., a print job being executed by the MFP 101, is canceled.Alternatively, when the stop button 409 is selected by the user,execution of a copy job or a transmission job may be canceled.

The data LED 420 and the error LED 430 notify the user of the state ofthe MFP 101. The data LED 420 is turned on while the electronic mailtransmission or the file transmission is being performed. The error LED430 is turned on when an error occurs on the MFP 101.

The home screen 400 is a function selection screen for the user toselect a function that the user desires to use from a plurality offunctions including, for example, a copy function for executing printingbased on the image data, and a transmission function for reading adocument to generate image data and transmitting the image data to anexternal device.

FIG. 5 is a diagram illustrating an example of a one-touch transmissionscan setting screen displayed on the display device 311.

For example, a one-touch transmission scan setting screen 500 of FIG. 5is displayed on the display device 311 connected to the PC 104 thataccesses the web server of the MFP 101 by HTTP communication.

In the one-touch transmission scan setting screen 500, an applicationinformation area 501, a registration of new button 502, items 503 to505, display/non-display switching buttons 506, and delete buttons 507are displayed.

The application information area 501 is an area where a version of anapplication is displayed, and a version number 1.00 is displayed in FIG.5 .

When the registration of new button 502 is selected by the user, abutton that is to be displayed on the screen displayed on the operationunit 205 in order to perform one-touch transmission scan is newlyregistered. When the registration of new button 502 is selected, abutton setting editing screen 600 of FIG. 6 is displayed on the displaydevice 311. Detailed description of the button setting editing screen600 of FIG. 6 will be provided below.

The item 503 indicates a name of a button for performing the one-touchtransmission scan registered in the MFP 101.

The item 504 indicates a type of transmission type set to the button forperforming the one-touch transmission scan registered in the MFP 101.

The item 505 indicates a display state of the button to perform theone-touch transmission scan registered in the MFP 101. Further, thedisplay/non-display switching button 506 for changing the display state,and the delete button 507 are also displayed. For example, when thedisplay state of the “referral letter” button indicates “display”, thereferral letter button 406 of FIG. 4 is displayed on the home screen 400of the touch panel 410. The display/non-display switching button 506 isa toggle button to select “display” or “non-display”.

When the delete button 507 is selected by the user, information on thebutton registered in the MFP 101 is deleted.

An example of the button for performing the one-touch transmission scanregistered in the MFP 101 is a button that has a name of “applicationA”. The type of transmission for the button is E-mail, and the displaystate thereof indicates “non-display”. The button setting editing screen600 of FIG. 6 is displayed on the display device 311 not only when theregistration of new button 502 is selected but also when the buttonhaving the name of “application A” is selected.

In FIG. 5 , four buttons of “application A”, “application B”, “referralletter”, and “interview sheet” have been registered. Since the displaystate of each of the buttons “referral letter” and “interview sheet” isset to “display”, the buttons of “referral letter” and “interview sheet”are displayed on the home screen 400. Since the display state of each ofthe buttons of “application A” and “application B” is set to“non-display”, in contrast, the buttons of “application A” and“application B” are not displayed on the home screen 400.

FIG. 6 is a diagram illustrating an example of the setting editingscreen for editing the settings of the button for performing theone-touch transmission scan. For example, the button setting editingscreen 600 of FIG. 6 is displayed on the display device 311 connected tothe PC 104 that accesses the web server of the MFP 101 through the HTTPcommunication.

The button setting editing screen 600 is displayed when the registrationof new button 502 of FIG. 5 or any one of the button name 503 isselected by the user. In a case where the button setting editing screen600 is displayed when the button name is selected by the user, thebutton setting editing screen 600 is displayed in a state where a valueset last time is input in each of the items. In a case where the buttonsetting editing screen 600 is displayed when the registration of newbutton 502 is selected, the button setting editing screen 600 isdisplayed in a state where no value is input in any of the items. Adefault value may be previously input in each of the items of the buttonsetting editing screen 600.

An input field 601 is an input field for setting the name of theone-touch transmission button. In the input field 601, a characterstring “interview sheet” has been input. When the one-touch transmissionbutton is selected by the user, the one-touch transmission scan isperformed.

A pull-down menu 602 is an object for setting a file name. In thepull-down menu 602, “button name” or “automatic” is selectable. In acase where the “button name” is selected, the button name input in theinput field 601 is used as a name of a file to be transmitted. In a casewhere “automatic” is selected, a character string automaticallydetermined is used as the name of the file. For example, a date when theone-touch transmission button registered on the screen of FIG. 6 isselected and scan is performed is used as the name of the file.

When a check box 603 is checked, a keyword at the time when the file isoutput is enabled. In other words, a function for using the characterstring that has been recognized and acquired by the characterrecognition processing as the name of the folder to which the image datais transmitted is enabled. In the present exemplary embodiment, anexample of the interview sheet button 405 in the case where the checkbox 603 is checked will be described, and the description of anoperation in a case where the check box 603 is not checked will beomitted in the flowchart described below.

When a keyword character string setting button 604 is selected by theuser, a keyword character string setting screen 700 of FIG. 7 isdisplayed.

A pull-down menu 605 is an object for making settings regarding whetherto sort a file to be transmitted and how to sort the file. In thepull-down menu 605, one of “do not sort”, “sort (file)”, “sort(folder)”, and “sort (file and folder)” is selectable. In a case where“do not sort” is set, the image data is transmitted to a folder of atransmission destination folder path displayed in an area 609 describedbelow. In a case where “sort (file)” is set, a keyword is included in anoutput file name. In a case where “sort (folder)” is set, the keyword isincluded in a name of a folder in which the file is stored. In a casewhere “sort (file and folder)” is set, the keyword is included in a filename and a name of a folder to which the file is output. In the presentexemplary embodiment, an example of the interview sheet button 405 inthe case where “sort (folder)” is set will be described, and descriptionof operation in a case where the other option is selected will beomitted in the flowchart described below.

A pull-down menu 606 is an object for selecting the type of transmissionwhen the image data generated by reading is transmitted. In thepull-down menu 606, “file”, “E-mail”, or “USB memory” is selectable. Ina case where “file” is selected and a switching button 607 is selected,the image data is transmitted to the folder of the PC 104 or the fileserver 102 by using a protocol, such as SMB, FTP, WebDAV, and SFTPprotocols. In a case where “E-mail” is selected, the image data istransmitted to the destination by using simple mail transfer protocol(SMTP). In a case where “USB memory” is selected, the image data isstored in the USB memory, i.e., the external storage device 210connected to the MFP 101. In the present exemplary embodiment, anexample of the interview sheet button 405 in the case where “file” isset is described, and the description of an operation in a case wherethe other option is selected is omitted in the flowchart describedbelow.

The switching button 607 is a button for switching the setting of thetype of transmission to the type of transmission displayed in thepull-down menu 606. When the switching button 607 is selected in a statewhere the type of transmission is selected in the pull-down menu 606,content corresponding to the selected type of transmission is displayedin an item 608.

The item 608 is an item where various kinds of settings such as a readsetting at reading in the one-touch transmission scan and a transmissionsetting at transmitting the image data can be input. Settings of atransmission destination, a reading size, a file format, a document readdirection, etc. can be also input in the item 608.

The area 609 is an area for displaying the transmission destination towhich the image data generated by reading is transmitted. Thedestination set in the area is a folder path to be combined with acharacter string of a text object described below. Further, the area 609is a text area where inputting and editing are not allowed, and displaysan address selected in an address selection screen.

When a select from address book button 610 is selected by the user, anaddress selection screen 800 of FIG. 8 where an address is selectablefrom an address book stored in the MFP 101 is displayed.

A pull-down menu 611 is a pull-down menu for setting a file format whenthe data generated by reading the image of the document is made into afile. The file is generated based on the format selected in thepull-down menu 611.

An OK button 612 is a button for storing the content set in the buttonsetting editing screen 600 as the settings of the one-touch transmissionbutton in the storage 204. When the OK button 612 is selected, thesettings are stored in the storage 204. A cancel button 613 is a buttonfor discarding the setting. When the OK button 612 or the cancel button613 is pressed, the one-touch transmission scan setting screen 500 ofFIG. 5 is displayed.

FIG. 7 is a diagram illustrating an example of a character recognitionprocessing setting screen. The keyword character string setting screen700 of FIG. 7 is displayed on the display device 311 when the keywordcharacter string setting button 604 of FIG. 6 is selected.

A pull-down menu 701 is an object for setting a predetermined conditionof a type of the character string acquired by the character recognitionprocessing. Although, in the screen illustrated in FIG. 7 , “onlynumerals” is displayed, a selectable option is not limited thereto. Forexample, “only alphabets”, “only numerals and alphabets”, “onlyhiragana”, “only kanji characters”, “only kanji characters andhiragana”, or the like may be selectable. In a case where a characterstring not satisfying the condition selected in the pull-down menu isacquired, the image data is handled as image data on which a characterrecognition error has occurred. Details thereof will be described below.

An input field 702 is an object for setting a lower limit of the numberof characters of the character string acquired by the characterrecognition processing. An input field 703 is an object for setting anupper limit of the number of characters of the character string acquiredby the character recognition processing. In a case where a characterstring not satisfying the input condition is acquired, the image data ishandled as image data on which a character recognition error hasoccurred. Details thereof will be described below.

Input fields 704 to 707 are objects for setting a range of coordinatesof the image data where the character recognition processing isperformed. The character recognition processing described below isperformed based on values input in the input fields 704 to 707.Although, in the present exemplary embodiment, an X coordinate and a Ycoordinate of a starting point, a width, and a height of the characterrecognition area are designated in centimeters with an upper left of thedocument as reference, the character recognition area may be alsodesignated in millimeters or inches. Alternatively, the characterrecognition area may be designated using a preview image of the documentand a graphical user interface (GUI), in place of designation by numericvalues. Further, in the present exemplary embodiment, an area where apatient identification (ID) of the interview sheet is entered is set asthe character recognition area.

A pull-down menu 708 is an object for making a setting regarding whetherto interrupt or continue the one-touch transmission scan processing in acase where the image data in which the character string not satisfyingthe condition of the character type or the number of characters isacquired, i.e., the image data on which a character recognition errorhas occurred is present. In FIG. 7 , although an option of “interrupt”is displayed, an option of “continue” is alternatively selectable.

An input field 709 is an object for inputting the transmissiondestination (folder) of the image data on which the characterrecognition error has occurred in a case where “continue” is selected inthe pull-down menu 708. For example, a folder path is input in the inputfield 709. In FIG. 7 , since “interrupt” is selected, the input field709 is displayed in a gray-out state. Performing settings in theabove-described manner can produce the following effect. An operationsuitable for usage by the user can be set. For example, “interrupt” canbe set in a case where the number of documents is small or in order tosurely sort the image data, and “continue” can be set in a case wherethe number of documents is large or in a case where the user wants tomanually sort the image data that has failed in sorting.

When an OK button 710 is selected by the user, the setting selected orinput at this time is stored in the storage 204.

When a cancel button 711 is selected by the user, the setting selectedor input at this time is discarded, and the button setting editingscreen 600 is displayed on the display device 311.

FIG. 8 is a diagram illustrating an example of the address selectionscreen 800. The address selection screen 800 is displayed when theselect from address book button 610 in the button setting editing screen600 of FIG. 6 is selected. For example, the address selection screen 800of FIG. 8 is displayed on the display device 311 connected to the PC 104that accesses the web server of the MFP 101 through the HTTPcommunication.

A pull-down menu 801 is a list to switch a type of an address bookdisplayed in the address selection screen 800. In the pull-down menu801, one of “best member” and “abbreviated dial” (not illustrated) isselectable.

When a display switch button 802 is selected by the user, the type ofthe address book displayed in the address selection screen 800 ischanged to the type selected in the pull-down menu 801.

An area 803 is a display area where a name of an address book isdisplayed. A list 804 is an area where an address list is displayed,that includes check boxes to select, numbers, types, names, anddestinations. As the number, an address management number is displayed.As the type, an icon is displayed, and the icon is changed depending onthe type of the address. As the name, the button name included in theaddress is displayed. As the destination, an address is displayed.

When an OK button 805 is selected in a state where a check box ischecked, the address corresponding to the selected check box isdisplayed in the area 609. The MFP 101 receives the address from the PC104 through the HTTP communication, and stores the received address asthe transmission destination address for the image data in the storage204.

The display of the selectable check box and the unselectable check boxis further described. FIG. 8 illustrates a display in a case where anaddress is selected from an address book of “best member” in a statewhere “file” is selected in the pull-down menu 606 of FIG. 6 . In theaddress book of “best member”, two addresses each having a transmissiontype of “E-mail” and two addresses each having a transmission type of“file” have been registered. As described above, in the addressselection screen 800, the destination (address) corresponding to the settransmission type is selectable by checking a selectable check box. Aselectable check box is displayed for the address of which thetransmission type coincides with the transmission type selected from thepull-down menu 606. More specifically, an unselectable check box isdisplayed for each of the addresses of numbers 01 and 02, and acheckable check box is displayed for each of the addresses of numbers 03and 04.

The OK button 805 is a button to fix the address selection with thecontent set in the address selection screen. A cancel button 806 is abutton to discard the set content. When the OK button 805 or the cancelbutton 806 is selected, the button setting editing screen 600 of FIG. 6is displayed.

The setting of the interview sheet button 405 according to the presentexemplary embodiment will be described. The interview sheet button 405has been registered in a state where, in the button setting editingscreen 600 of FIG. 6 , “interview sheet” is input in the input field601, “button name” is selected in the pull-down menu 602, and the checkbox 603 is checked. Also, the interview sheet button 405 has beenregistered in a state where, in the button setting editing screen 600 ofFIG. 6 , “sort (folder)” is selected in the pull-down menu 605 and“file” is selected in the pull-down menu 606. Further, the interviewsheet button 405 has been registered in a state where “only numerals” isselected in the pull-down menu 701, “3” is input in the input field 702,and “10” is input in the input field 703. Furthermore, the interviewsheet button 405 has been registered in a state where “interrupt” isselected in the pull-down menu 708, and an address “\\fileserver\interview sheet” as the destination of the number 04 is selectedin the address selection screen 800 of FIG. 8 .

FIG. 9 is a diagram illustrating an example of a folder structure. FIG.9 illustrates a folder structure of the file server 102 that is a filetransmission destination in the present exemplary embodiment. The fileserver 102 has a hierarchical structure in which the interview sheet isstored in a folder for each patient. The file server 102 includes aninterview sheet folder 901 as a highest level folder, which containssub-holders for respective patient IDs. Under each of the sub-holders,interview sheet files each having a file name named after the date ofthe interview are contained. In the one-touch transmission processingdescribed below, a file “2019-04-23.pdf” is transmitted to the folder ofa patient ID “123”.

In the image processing apparatus that stores the image data in a folderusing, as a folder name, the character string acquired by the characterrecognition processing, in a case where an incorrect character string isacquired by the character recognition processing, the image data isstored in a folder having a folder name unintended by the user.Accordingly, image data of a confidential document may be transmitted toan unintended folder, which can lead to leakage of confidentialinformation.

Meanwhile, to prevent the image data from being transmitted to theunintended folder, the folder name can be confirmed by the user beforethe image data is stored. However, this increases labor and complicatedoperation of the user.

According to the technique discussed in Japanese Patent ApplicationLaid-Open No. 2005-234708, the folder name cannot be confirmed by theuser before the image data is stored, and it is difficult to prevent theimage data from being transmitted to the unintended folder.

In the image processing apparatus that stores the image data in thefolder using, as the folder name, the character string acquired bycharacter recognition processing, performing the following processingallows for reduction of labor for preventing the image data from beingtransmitted to the unintended folder.

FIG. 10 is a flowchart illustrating an example of the one-touchtransmission scan processing. When the CPU 201 reads the program storedin the ROM 202 into the RAM 203 and executes the program, the processingin the flowchart of FIG. 10 is performed. The flowchart of FIG. 10 isperformed in response to selection of the interview sheet button 405 bythe user on the home screen 400 displayed on the operation unit 205.

In step S1001, the CPU 201 acquires the settings made to the interviewsheet button 405 via the operation device 310 and the display device311.

In step S1002, the CPU 201 determines whether a document has been placedon a document tray (not illustrated). In a case where it is determinedthat a document has been placed on the document tray (YES in stepS1002), the processing proceeds to step S1003. In a case where it isdetermined that a document has not been placed on the document tray (NOin step S1002), the processing is ended.

In step S1003, the CPU 201 controls the scanner 207 to convey one of thedocuments placed on the document tray, and reads an image of thedocument to generate image data. The image data generated at this timemay be binary compressed image data.

In step S1004, the CPU 201 generates an electronic file from the imagedata generated in step S1003 based on the setting of the file formatacquired in step S1001. In the case of the interview sheet button 405,image data is generated in a PDF file format because “PDF” has been set.The image data generated in a PDF file format is stored in the storage204.

In step S1005, the CPU 201 performs the character recognition processingon the image data generated in step S1003 based on the characterrecognition area set in the input fields 704 to 707 of the keywordcharacter string setting screen 700 of FIG. 7 , and acquires a characterstring.

In step S1006, the CPU 201 determines whether the character stringacquired in step S1005 satisfies the condition set in the keywordsetting screen of FIG. 7 . For example, in a case where “only numerals”is selected in the pull-down menu 701 and the character string acquiredas a result includes characters other than numerals, it is determinedthat the character string does not satisfy the condition. Also in a casewhere a character string having the number of characters not fallingwithin a range from the lower limit to the upper limit of the number ofcharacters set in the input fields 702 and 703 is acquired, it isdetermined that the character string does not satisfy the condition. Ina case where it is determined that the character string satisfies thecondition (YES in step S1006), the processing proceeds to step S1009. Ina case where it is determined that the character string does not satisfythe condition (NO in step S1006), the processing proceeds to step S1007.

In step S1007, the CPU 201 generates a folder path (transmissiondestination) that is obtained by adding the acquired character string toa lowermost layer of the folder path displayed in the area 609. Morespecifically, in a case where the acquired character string is “123”, afolder path “\\file server\interview sheet\123” is generated.

In step S1008, the CPU 201 transmits the image data (PDF file) generatedin step S1004 to a folder indicated by the folder path generated in stepS1007. More specifically, the CPU 201 performs control the image data tobe transmitted to the file server by using a SMB protocol or an FTPprotocol and stored in the folder indicated by the designated folderpath.

In step S1009, the CPU 201 determines whether “continue” has been set inthe pull-down menu 708 of FIG. 7 . In a case where it is determined that“continue” has been set (YES in step S1009), the processing proceeds tostep S1010. In a case where it is determined that “continue” has notbeen set, i.e., in a case where “interrupt” has been selected, (NO instep S1009), the processing proceeds to step S1011.

In step S1010, the CPU 201 acquires a folder path of an error folderwhich is set in the input field 709 of FIG. 7 and to which the imagedata on which the error has occurred is transmitted. The processing thenproceeds to step S1008, and the CPU 201 transmits the image data (PDFfile) generated in step S1004 to the folder indicated by the folder pathacquired in step S1010.

In step S1011, the CPU 201 generates a folder path (transmissiondestination) that is obtained by adding the character string acquired instep S1005 to the lowermost layer of the folder path displayed in thearea 609. For example, in a case where a character string “123”described in the document is recognized as a character string “123” bythe character recognition processing, a folder path “\\fileserver\interview sheet\I23” is generated.

In step S1012, the CPU 201 interrupts the one-touch transmission scanprocessing, and controls the operation unit 205 to display a recoveryinstruction screen, where the folder path generated in step S1011 isdisplayed, on the touch panel 410 of the operation unit 205. An exampleof the recovery instruction screen will be described with reference toFIG. 11 .

FIG. 11 is a diagram illustrating an example of a recovery instructionscreen 1100. The recovery instruction screen 1100 that also serves as ascreen indicating interruption of the one-touch transmission scanprocessing is displayed on the touch panel 410 of the operation unit 205of the MFP 101.

As described above, the recovery instruction screen 1100 is displayedbased on determination that the character string acquired by thecharacter recognition processing is a character string not satisfyingthe set condition.

An area 1101 is an area for displaying the folder path generated in stepS1011. The user checks the folder path displayed in the area to find anerror in the acquired character string. Only a part of the characterstring not satisfying the condition may be highlighted. For example,only “I” of the character string “I23” may be displayed in red.

When a “resume from next document” button 1102 is selected by the user,the image data from which the character string to generate thetransmission destination (folder path) displayed on the area 1101 hasbeen acquired is not transmitted to the transmission destination, andscanning of the next document is started. As a result, for example, in acase where documents in different formats are mixed, the user canquickly continue the sorting processing by selecting the button 1102.

When a “read same document again” button 1103 is selected by the user,an explanation screen (not illustrated) is displayed on the touch panel410 of the operation unit 205. By returning the document with an errorto the document tray and selecting a resume button on the explanationscreen in a state where the explanation screen is displayed, the usercan execute reading of the same document again. For example, in a casewhere a handwritten character string on the document is not clear, theuser corrects the character string in handwriting and executesre-reading of the document. This allow for acquisition of a correctcharacter string. Alternatively the image of the document on which theerror has occurred may be displayed on the above-described explanationscreen (not illustrated).

When a “manually designate address” button 1104 is selected by the user,an input screen where the user can input a transmission destinationusing the keyboard or the like is displayed on the touch panel 410 ofthe operation unit 205. An example of the input screen where the usercan input a transmission destination using the keyboard or the like willbe described with reference to FIG. 12 .

FIG. 12 is a diagram illustrating an example of an input screen 1200.The input screen 1200 is displayed on the touch panel 410 of theoperation unit 205.

An input field 1201 is an input field for the user to correct thecharacter string used in the folder path. When the input field 1201 isselected by the user, a software keyboard (not illustrated) is displayedon the input screen 1200, and an input of the character string by theuser in the input field 1201 is received.

When a transmission button 1202 is selected by the user, the image datais transmitted to the folder indicated by a folder path that is obtainedby adding the character string input in the input field 1201 to thelowermost layer of the folder path displayed in the area 609.

When a cancel button 1203 is selected by the user, the character stringinput in the input field 1201 is discarded, and the recovery instructionscreen 1100 is displayed again.

In such a manner, For example, in a case where the character recognitionaccuracy is insufficient, the user can input a correct character stringby selecting the button 1104.

In the present exemplary embodiment, the example in which the input ofthe transmission destination by the user is received on the input screen1200 different from the recovery instruction screen 1100 has beendescribed. The configuration however is not limited thereto.Alternatively, the area 1101 of the recovery instruction screen 1100 maybe an input field, and a software keyboard may be displayed when thearea 1101 is selected by the user to receive an input of thetransmission destination by the user. Further, in the input field 1201of the input screen 1200, only the acquired character string iscorrectable according to the present exemplary embodiment. The folderpath generated in step S1011, however, may be wholly correctable. Inthis case, the character string “\\file server\interview sheet\I23” isdisplayed in the input field 1201, and the processing in step S1015 isomitted.

When a “cancel processing” button 1105 in FIG. 11 is selected by theuser, the generated image data is discarded, and the one-touchtransmission scan processing is canceled.

The description will return to the flowchart of FIG. 10 . In step S1013,the CPU 201 determines which button has been selected by the user viathe recovery instruction screen 1100. In a case where the “manuallydesignate address” button 1104 has been selected (MANUALLY DESIGNATEADDRESS in step S1013), the processing proceeds to step S1014. In a casewhere the “cancel processing” button 1105 has been selected (CANCEL instep S1013), the processing is ended. In a case where a button otherthan the above-described buttons, the processing proceeds to step S1016.

In step S1014, the CPU 201 controls the operation unit 205 to displaythe input screen where the user can input the transmission destinationusing the keyboard or the like, on the touch panel 410 of the operationunit 205. An example of the input screen where the user can input thetransmission destination from the keyboard or the like is described withreference to FIG. 12 .

In step S1015, the CPU 201 generates a folder path (transmissiondestination) that is obtained by adding the character string input inthe input field 1201 to the lowermost layer of the folder path displayedin the area 609, in response to selection of the transmission button1202 by the user. The processing then proceeds to step S1008, and theCPU 201 transmits the image data (PDF file) generated in step S1004 tothe folder indicated by the folder path acquired in step S1015.

In step S1016, the CPU 201 determines which button has been selected bythe user via the recovery instruction screen 1100. In a case where the“resume from next document” button 1102 has been selected (FROM NEXTDOCUMENT in step S1016), the processing returns to step S1002. In a casewhere the “read same document again” button 1103 has been selected (SAMEDOCUMENT AGAIN in step S1016), the processing proceeds to step S1017.

In step S1017, the CPU 201 controls the operation unit 205 to display anexplanation screen (not illustrated) that prompts the user to place thedocument again on the touch panel 410 of the operation unit 205. Theexplanation screen may be a screen that prompts the user to place thelast scanned document on the document tray again, or the image of thedocument to be placed again may be displayed on the touch panel 410 ofthe operation unit 205.

In step S1108, the CPU 201 deletes the image data stored in the storage204 in step S1004 in response to selection of a resume button displayedon the explanation screen (not illustrated). The processing then returnsto step S1002. In the present exemplary embodiment, the example in whichthe image data stored in the storage 204 is deleted has been described.However, the processing may be resumed without deleting the image data,and the image data generated again in a PDF file format may beconfigured not to be stored in the storage 204. In this case, the imagedata transmitted in step S1008 is the image data stored before theprocessing is resumed.

Performing the above-described processing allows the reduction of laborfor preventing image data from being transmitted to an unintended folderin an image processing apparatus that stores the image data in a folderusing, as a folder name, a character string acquired by characterrecognition processing.

A second exemplary embodiment will be described. In the first exemplaryembodiment, the example in which reading of an image of a seconddocument is started after processing for transmitting image datagenerated by reading an image of a first document is completed has beendescribed. In the present exemplary embodiment, an example in whichreading of an image of a second document is started before image datagenerated by reading an image of a first document is transmitted will bedescribed.

FIG. 13 is a diagram illustrating a timing chart of one-touchtransmission scan parallel processing. The processing performed on onedocument basically progresses in order of the processing to read animage of a document to generate image data, the character recognitionprocessing, the transmission destination determination processing, andthe transmission processing.

In the present exemplary embodiment, at timing when execution oftransmission processing of an N-th document is started, processing forreading an image of an N+1-th document to generate image data is startedas illustrated in FIG. 13 .

FIG. 14 is a flowchart illustrating an example of the one-touchtransmission scan parallel processing. When the CPU 201 reads out theprogram stored in the ROM 202 into the RAM 203 and executes the program,the processing in the flowchart of FIG. 14 is performed. The flowchartof FIG. 14 is performed in response to selection of the interview sheetbutton 405 by the user on the home screen 400 displayed on the operationunit 205. The following description will be given to processingdifferent from the processing described in the flowchart of FIG. 10 .

In step S1402, the CPU 201 determines whether operation to be performedat a time of occurrence of an error has been set to “continue”. In acase where it is determined that the operation has been set to“continue” (CONTINUE in step S1402), the processing proceeds to stepS1404. In a case where it is determined that “interrupt” has been set(INTERRUPT in step S1402), the processing proceeds to step S1403.

In step S1403, the CPU 201 generates a transmission task. Thetransmission task generated at this time is a task performed in a flowof processing different from this flow.

In step S1410, the CPU 201 determines whether the transmission task ispresent after the transmission destination is generated. In a case whereit is determined that the transmission task is present (YES in stepS1410), the processing proceeds to step S1411. Otherwise (NO in stepS1410), the processing proceeds to step S1412. In step S1412, the CPU201 performs transmission processing to transmit the image data to thetransmission destination generated in step S1409.

In step S1411, the CPU 201 gives an instruction to transmit the imagedata in the transmission task generated in step S1410 and performs thetransmission processing. In the transmission task, the processing instep S1412 is performed. The processing in step S1412 is similar to theprocessing in step S1008 in FIG. 10 .

In step S1420, the CPU 201 determines whether operation to be performedat a time of occurrence of an error has been set to “continue” as withthe processing in step S1402. In a case where it is determined that theoperation has been set to “continue” (CONTINUE in step S1420), theprocessing proceeds to step S1421. In a case where it is determined that“interrupt” has been set (INTERRUPT in step S1420), the processingproceeds to step S1422.

In step S1440, the CPU 201 determines whether a transmission task ispresent as with the processing in step S1410. In a case where it isdetermined that the transmission task is present (YES in step S1440),the processing proceeds to step S1441. In a case where it is determinedthat the transmission task is not present (NO in step S1440), theprocessing is ended.

In step S1441, the CPU 201 determines whether notification indicating anend of transmission has been issued in the transmission task. In a casewhere it is determined that the notification has been issued (YES instep S1441), the processing proceeds to step S1442. In a case where itis determined that the notification has not been issued (NO in stepS1441), the processing returns to step S1441, and the processing isrepeated.

In step S1442, the CPU 201 ends the transmission task. The processingthen is ended.

Performing the above-described processing allows for simultaneousexecution of the transmission processing of the first document and thereading processing of the second document in parallel, thereby reducingthe processing time.

OTHER EMBODIMENTS

Embodiment(s) of the present disclosure can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which can also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer can comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and can include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionscan be provided to the computer, for example, from a network or thestorage medium. The storage medium can include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While exemplary embodiments have been described, it is to be understoodthat the disclosure is not limited to the disclosed exemplaryembodiments. The scope of the following claims is to be accorded thebroadest interpretation so as to encompass all such modifications andequivalent structures and functions.

What is claimed is:
 1. An information processing apparatus, comprising:a controller including a processor and a memory, the controller beingconfigured to: on the basis that character information, that is obtainedfrom image data generated by scan of a document, satisfies apredetermined condition regarding type of a character, perform a processfor storing the image data in a folder having a folder name includingone or more characters indicated by the obtained character information,and on the basis that character information, that is obtained from imagedata on the basis that character information, that is obtained fromimage data generated by scan of a document, does not satisfy thepredetermined condition, perform a process for storing the image data ina folder determined before the character information is obtained.
 2. Theinformation processing apparatus according to claim 1, wherein, thecontroller is configured to perform, based on a determination that thecharacter information satisfies the predetermined condition, the processfor storing the image data in the folder having the folder nameincluding the one or more characters indicated by the obtained characterinformation, and wherein the controller is configured to perform, basedon a determination that the character information does not satisfy thepredetermined condition, the process for storing the image data in thefolder determined by designation by a user before the characterinformation is obtained.
 3. The information processing apparatusaccording to claim 1, wherein the controller is configured to perform,on the basis that the character information satisfies the predeterminedcondition, the process for storing the image data directly under thefolder having the folder name including the one or more charactersindicated by the obtained character information, and wherein thecontroller is configured to perform, on the basis that the characterinformation does not satisfy the predetermined condition, the processfor storing the image data directly under the folder determined beforethe character information is obtained.
 4. The information processingapparatus according to claim 1, wherein the controller is configured toobtain the character information by performing a recognizing process onthe image data generated by the scan of the document.
 5. The informationprocessing apparatus according to claim 4, further comprising: a scannerconfigured to scan a document to generate image data, wherein thecontroller is configured to obtain the character information byperforming the recognizing process on the image data generated by thescanner.
 6. The information processing apparatus according to claim 4,wherein the recognizing process is an OCR process.
 7. The informationprocessing apparatus according to claim 1, further comprising: acommunicator configured to: transmit, on the basis that the characterinformation satisfies the predetermined condition, the image data forstoring the image data in the folder having the folder name includingthe one or more characters indicated by the obtained characterinformation, and transmit, on the basis that the character informationdoes not satisfy the predetermined condition, the image data for storingthe image data in the folder determined before the character informationis obtained.
 8. The information processing apparatus according to claim1, wherein the folder determined before the character information isobtained is a folder having a folder name not including the obtainedcharacter information that does not satisfy the predetermined condition.9. The information processing apparatus according to claim 1, whereinthe folder determined before the character information is obtained is afolder not specified based on the obtained character information thatdoes not satisfy the predetermined condition.
 10. The informationprocessing apparatus according to claim 1, wherein the controller isconfigured to specify, based on the character information that satisfiesthe predetermined condition, the folder name of the folder for havingthe image data stored, and wherein the image data is stored in thefolder having the specified folder name.
 11. An information processingmethod comprising: on the basis that character information, that isobtained from image data generated by scan of a document, satisfies apredetermined condition regarding type of a character, performing aprocess for storing the image data in a folder having a folder nameincluding one or more characters indicated by the obtained characterinformation; and on the basis that character information, that isobtained from image data generated by scan of a document, does notsatisfy the predetermined condition, performing a process for storingthe image data in a folder determined before the character informationis obtained.
 12. The information processing method according to claim11, wherein, based on a determination that the character informationsatisfies the predetermined condition, the process for storing the imagedata in the folder having the folder name including the one or morecharacters indicated by the obtained character information is performed,and wherein, based on a determination that the character informationdoes not satisfy the predetermined condition, the process for storingthe image data in the folder determined by designation by a user beforethe character information is obtained, is performed.
 13. The informationprocessing method according to claim 11, wherein, on the basis that thecharacter information satisfies the predetermined condition, the processfor storing the image data directly under the folder having the foldername including the one or more characters indicated by the obtainedcharacter information is performed, and wherein, on the basis that thecharacter information does not satisfy the predetermined condition, theprocess for storing the image data directly under the folder determinedbefore the character information is obtained, is performed.
 14. Theinformation processing method according to claim 11, further comprising:obtaining the character information by performing a recognizing processon the image data generated by the scan of the document.
 15. Theinformation processing method according to claim 14, further comprising:scanning a document to generate image data, wherein the characterinformation is obtained by performing the recognizing process on imagedata generated by the scanning.
 16. The information processing methodaccording to claim 14, wherein the recognizing process is an OCRprocess.
 17. The information processing method according to claim 11,further comprising: transmitting, on the basis that the characterinformation satisfies the predetermined condition, the image data forstoring the image data in the folder having the folder name includingthe one or more characters indicated by the obtained characterinformation; and transmitting, on the basis that the characterinformation does not satisfy the predetermined condition, the image datafor storing the image data in the folder determined before the characterinformation is obtained.
 18. The information processing method accordingto claim 11, wherein the folder determined before the characterinformation is obtained is a folder having a folder name not includingthe obtained character information that does not satisfy thepredetermined condition.
 19. The information processing method accordingto claim 11, wherein the folder determined before the characterinformation is obtained is a folder not specified based on the obtainedcharacter information that does not satisfy the predetermined condition.20. The information processing method according to claim 11, furthercomprising: specifying, based on the character information thatsatisfies the predetermined condition, the folder name of the folder forhaving the image data stored, wherein the image data is stored in thefolder having the specified folder name.
 21. A non-transitorycomputer-readable storage medium storing a computer-executable programfor causing an information processing apparatus to execute a methodcomprising: on the basis that character information, that is obtainedfrom image data generated by scan of a document, satisfies apredetermined condition regarding type of a character, performing aprocess for storing the image data in a folder having a folder nameincluding one or more characters indicated by the obtained characterinformation; and on the basis that character information, that isobtained from image data on the basis that character information, thatis obtained from image data generated by scan of a document, does notsatisfy the predetermined condition, performing a process for storingthe image data in a folder determined before the character informationis obtained.
 22. The non-transitory computer-readable storage mediumaccording to claim 21, wherein, based on a determination that thecharacter information satisfies the predetermined condition, the processfor storing the image data in the folder having the folder nameincluding the one or more characters indicated by the obtained characterinformation is performed, and wherein, based on a determination that thecharacter information does not satisfy the predetermined condition, theprocess for storing the image data in the folder determined bydesignation by a user before the character information is obtained isperformed.
 23. The non-transitory computer-readable storage mediumaccording to claim 21, wherein, on the basis that the characterinformation satisfies the predetermined condition, the process forstoring the image data directly under the folder having the folder nameincluding the one or more characters indicated by the obtained characterinformation is performed, and wherein, on the basis that the characterinformation does not satisfy the predetermined condition, the processfor storing the image data directly under the folder determined beforethe character information is obtained is performed.
 24. Thenon-transitory computer-readable storage medium according to claim 21,the method further comprising: obtaining the character information byperforming a recognizing process on the image data generated by the scanof the document.
 25. The non-transitory computer-readable storage mediumaccording to claim 24, the method further comprising: scanning adocument to generate image data, wherein the character information isobtained by performing the recognizing process on image data generatedby the scanning.
 26. The non-transitory computer-readable storage mediumaccording to claim 24, wherein the recognizing process is an OCRprocess.
 27. The non-transitory computer-readable storage mediumaccording to claim 21, the method further comprising: transmitting, onthe basis that the character information satisfies the predeterminedcondition, the image data for storing the image data in the folderhaving the folder name including the one or more characters indicated bythe obtained character information; and transmitting, on the basis thatthe character information does not satisfy the predetermined condition,the image data for storing the image data in the folder determinedbefore the character information is obtained.
 28. The non-transitorycomputer-readable storage medium according to claim 21, wherein thefolder determined before the character information is obtained is afolder having a folder name not including the obtained characterinformation that does not satisfy the predetermined condition.
 29. Thenon-transitory computer-readable storage medium according to claim 21,wherein the folder determined before the character information isobtained is a folder not specified based on the obtained characterinformation that does not satisfy the predetermined condition.
 30. Thenon-transitory computer-readable storage medium according to claim 21,the method further comprising: specifying, based on the characterinformation that satisfies the predetermined condition, the folder nameof the folder for having the image data stored, wherein the image datais stored in the folder having the specified folder name.